﻿using RightControl.Model;
using System.Collections.Generic;

namespace RightControl.IService
{
    public interface ISubProductService : IBaseService<SubProduct> {
        int SaveSubProducts(IEnumerable<SubProduct> entitys);

        int UpdateSubProducts(IEnumerable<SubProduct> entitys);

        bool DeleteByProdcutId(int productId);

        List<SubProduct> GetSubProductList(SubProduct filter, PageInfo pageInfo);
    }
}
